package com.example.javabasic.thread.classtwo.threadlocal.demo3;

import java.util.stream.IntStream;
//threadlocal 应用
public class Test {
    public static void main(String[] args) {
        IntStream.range(0, 2).forEach(i -> {
            new Thread(
                    new ExecutionTask(), String.valueOf(i)
            ).start();
        });
    }
}
